import { IFeidaoAiWeappPage } from '../../../../interfaces';
import background_audio_manager from './_get-background-audio-manager';

/**
 * @see [微信官方文档](https://mp.weixin.qq.com/debug/wxadoc/dev/api/api-camera.html)
 */
export default function play_background_audio(fd: IFeidaoAiWeappPage, src?: string, startTime?: number, title?: string, epname?: string, singer?: string, coverImgUrl?: string, webUrl?: string) {
	const ctx = background_audio_manager(fd, src, startTime, title, epname, singer, coverImgUrl, webUrl);
	ctx.play();
}
